import axios from 'axios'

export default {
	/**
	 * 组织维度报表
	 * @returns {AxiosPromise<any>}
	 */
	shop_report (params) {
		return axios.post('/api/shop_report', params);
	},
	/**
	 * 根据[组织id, 用户id]查询巡店记录
	 * @returns {AxiosPromise<any>}
	 */
	shop_xun_dian_ji_lu (params) {
		return axios.post('/api/shop_xun_dian_ji_lu', params);
	},
	/**
	 * 组织维度报表
	 * @returns {AxiosPromise<any>}
	 */
	user_report (params) {
		return axios.post('/api/user_report', params);
	},
	/**
	 * 任务维度报表
	 * @returns {AxiosPromise<any>}
	 */
	plan_report (params) {
		return axios.post('/api/plan_report', params);
	},
}
